package com.ynu.yx.chatroleai.converter;


import com.ynu.yx.chatroleai.dto.CharacterCategoryViewDto;
import com.ynu.yx.chatroleai.model.CharacterCategory;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface CharacterCategoryConverter {
    List<CharacterCategoryViewDto> toViewListDto(List<CharacterCategory> categories);
    CharacterCategoryViewDto toViewDto(CharacterCategory category);
}
